﻿<%@ page language="java" contentType="text/html;charset=utf-8" pageEncoding="utf-8"%>

<%@ include file="/core/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		 <%@ include file="/core/adminMeta.jsp"%>
		
		
		  
	</head>
	
	<body oncontextmenu="return false">
		<div id="scrollContent">
		
			<div class="box4 cont" panelWidth="99%" panelHeight="30"  panelTitle="会员帐号信息">
				<table style="width:100%;border:0px;">
					<tr>
						<td style="width:10%;text-align:right">会员帐号：</td>
						<td style="width:8%;text-align:left">
							<span style="color:blue;font-weight:bolder;">${mg.loginName}</span>
						</td>
						
						<td style="width:10%;text-align:right">上次登录时间：</td>
						<td style="width:8%;text-align:left">
							<span style="color:blue;font-weight:bolder;">
								<fmt:formatDate value="${mg.lastTime}" type="date" pattern="yyyy-MM-dd HH:mm:ss" />
							</span>
						</td>
						
						<td style="width:10%;text-align:right">登录次数：</td>
						<td style="width:8%;text-align:left">
							<span style="color:blue;font-weight:bolder;">${mg.loginNum}</span>
						</td>
						
						<td style="width:10%;text-align:right">登录时间：</td>
						<td style="width:8%;text-align:left">
							<span style="color:blue;font-weight:bolder;">
								<fmt:formatDate value="${mg.loginTime}" type="date" pattern="yyyy-MM-dd HH:mm:ss" />
							
							</span>
						</td>
						
						
					</tr>
				</table>
			</div>
			 <div class="box4 cont" panelWidth="99%" panelHeight="300"  panelTitle="最新公告">
				<table class="tableStyle">
					<tr>
						<th>编号</th>
						<th style="width:50%">标题</th>
						<th>作者</th>
						<th>发布时间</th>
						<th>附件数</th>
						<th>公告查看</th>
					</tr>
	<c:forEach items="${noticeList}" var="o">
					<tr>
						<td>${o.id}</td>
						<td>
							${o.title}
						</td>
						<td>${o.admin.title}</td>
						<td> 
						<fmt:formatDate value="${o.commitDate}" type="date" pattern="yyyy-MM-dd HH:mm:ss" />
						</td>
						<td>${o.fileNum}</td>
						<td>
							<a href="admin/info/noticeShow.shtml?id=${o.id}">
								<span class="icon_view">查看</span>
							</a>
						</td>
					</tr>
	</c:forEach>
				</table>
			</div>
			
			 
			
		</div>
	<!--代码高亮end-->
	</body>
</html>